<template>
  <section>
    <seller-create :formData.sync="createForm" @cancelCreate="cancel" @okCreate="ok" />
  </section>
</template>

<script>
export default {
  components: {
      'seller-create': () => import('../../components/Seller/create'),
  },
  data() {
    return {
      createForm: {
          seller_id: 0
      },
    };
  },
  mounted() {
  },

  methods: {
    cancel() {
        this.$router.push({path: '/company/shops'});
    },
    ok() {
        this.$router.push({path: '/company/shops'});
    },
  }
};
</script>
